import java.util.ArrayList;
import java.util.List;


public class SchoolBean {
	
	private List<School> schools= new ArrayList<School>();
	private School mySchool = new School();
	
	public void addSchool() {
		getSchools().add(getMySchool());
		setMySchool(new School());
		

	}
	
	public void removeSchool() {
		getSchools().remove(getMySchool());
		setMySchool(new School());

	}
	
	public void editSchool() {

		setMySchool(new School());

	}

	public void setSchools(List<School> schools) {
		this.schools = schools;
	}

	public List<School> getSchools() {
		return schools;
	}

	public void setMySchool(School mySchool) {
		this.mySchool = mySchool;
	}

	public School getMySchool() {
		return mySchool;
	}

}
